body { font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,STHeiti,"Microsoft Yahei",sans-serif; word-wrap: break-word; font-weight: 300; }
body {  background-image: url("../images/noise.png");}
/* common */

img { height: auto; max-width: 100%; }
a { color: #000; text-decoration: none; }
a:hover { text-decoration: none; }
ul,li,h1,h2,h3,p,ol { padding: 0; margin: 0; list-style: none; }
.m10 { margin: 10px; }
.mt20 { margin-top: 20px;}
.mb6 { margin-bottom: 6px;}

/* nav */
.navbar-inverse { background-color: #3a3e47; border-color: #2e3138; border-radius: 0;}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus { color: #fff; background-color: #4C4D4D; }

.search-box { position: relative;}
.search-btn {position: absolute; right: 25px; top: 12px; font-size: 18px; color: #999;}

/* main */
.shadow-box { box-shadow: 0px 2px 2px rgba(0, 0, 0, .175); background-color: #fff; margin-bottom: 15px; border: 1px solid #cacaca;}

.filter {border-bottom: 1px solid #cacaca;}
.filter ul { display: block; }
.filter ul li {  display: inline-block; }
.filter ul li a {padding: 0 15px; font-size: 14px; color: #8c97b2; text-decoration: none; display: block; line-height: 40px; border-bottom: 4px solid transparent; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; -ms-transition: all 0.3s ease; transition: all 0.3s ease; }
.filter ul li a.active, .filter ul li a:hover { border-bottom: 4px solid #f39c12; }

.stream-head { background-color: #fff; min-height: 100px; border: 1px solid #dadfea; margin-bottom: 15px;}
.stream-head .user-info { float: left; margin-top: 10px; padding-left: 30px; padding-right: 30px;}
.stream-head .user-info span.avatar-80 { float: left; width: 80px; height: 80px; }
.stream-head .user-post { float: left;}
.stream-head .user-post > li { float: left; border-right: 1px solid #f2f2f2;}
.stream-head .user-post > li:first-child { border-left: 1px solid #f2f2f2; }
.stream-head .user-post > li a {border-bottom: 2px solid #FFF;}
.stream-head .user-post > li a:hover {border-bottom: 2px solid #3fa7cb; background-color: #f2f2f2;}
.stream-head .user-post .act-icon { display: block; width: 120px; height: 100px; overflow: hidden; background-size: 100% 100%; background-position: center center; background-repeat: no-repeat; }
.stream-head .user-post .act-icon i { display: block; text-align: center; padding-top: 25px; font-size: 35px; }
.stream-head .user-post .act-icon .tip { width: 60px; height: 16px; margin: 10px 0 0 38px; }
.stream-head .user-post .act-img { color: #A576F7; }
.stream-head .user-post .act-text { color: #5EBCF2; }

.stream-list { }
.stream-item { margin: 0; border-bottom: 1px solid #eee; padding: 10px; }
.stream-item:hover { background-color: #f5f5f5;}
.stream-item .summary { overflow: auto; }
.stream-item .title { display: inline; margin: 0 5px 0 0; font-size: 16px; }
.stream-item .title a {color: #333;}
.stream-item .author { color: #999; font-size: 13px; margin: 5px 0;}
.stream-item .author span { margin-right: 15px;}
.stream-item .excerpt { margin: 3px 0 0; height: 42px; color: #777; font-size: 13px; line-height: 1.6; overflow: hidden; }

.blog-stream {}
.blog-stream .stream-item { padding: 12px 0; }
.blog-rank { float: left; margin-right: 12px; padding-right: 12px; border-right: 1px solid #f3f3f3; font-size: 16px; text-align: center; line-height: 1.2; color: #666; }
.blog-rank .votes { margin-bottom: 8px; background: #f0f0f0; }
.blog-rank .votes, .blog-rank .views, .blog-rank .user { display: block; padding-top: 3px; width: 40px; height: 40px; -moz-border-radius: 1px; -webkit-border-radius: 1px; border-radius: 1px; }
.blog-rank .user { margin-bottom: 8px; }
.blog-rank .plus { background: #5EBCF2; color: #fff; }
.blog-rank small { display: block; font-size: 12px; }

.tags { overflow: hidden; float: left;}
.tags >li { display: inline-block; margin-right: 5px; }
.tag { display: inline-block; padding: 0 12px; color: #888; background-color: #F5F5F5; height: 24px; line-height: 24px; font-weight: normal; font-size: 13px; text-align: center; }
.tag-sm { padding: 0 8px; height: 18px; line-height: 18px; font-size: 12px; }
.tag[href]:hover,.tag[href]:focus{background-color:#32a5e7;color:#fff;text-decoration:none}

.foot-block {margin: 0; display: block; font-size: 12px;}
.foot-block a {font-size: 12px;}
.foot-block .tags {max-width: 232px;}

/* right */
.widget-box {margin-bottom: 20px; overflow: hidden;}
.widget-box .title { border-bottom: 1px solid #dadfea; }
.widget-box .title h3 {font-size: 14px; line-height: 26px; margin: 9px 15px;}
.widget-box .li-out {overflow: hidden;}
.widget-box .box-list {padding: 0 15px; margin-bottom: -1px;}
.widget-box .box-list li {border-bottom: 1px dashed #cacaca;}
.widget-box .box-list li span { display: inline-block; margin-right: 5px; font-size: 12px; color: #999; line-height: 30px; }
.widget-box .box-list li span.last { float: left; width: 24px; margin-right: 6px; }
.widget-box .box-list li span.last i { background-color: #2e3138; font-style: normal; height: 20px; padding: 2px 6px; line-height: 20px; margin: 5px auto; color: #fff; }
.widget-box .box-list li span.name {width: 145px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;} 
.widget-box .box-list li span.nums { float: right; text-align: right; max-width: 33px; height:30px; margin-right: 0; color: #333; display:block; overflow: hidden;}

/* detail */
.post-title { font-size: 20px; line-height: 30px; padding: 16px 20px; color: #555; }

.post-other { background-color: #f9f9f9; padding: 10px 20px; border-top:1px solid #f2f2f2; border-bottom:1px solid #f2f2f2;}
.post-other { line-height: 26px; font-size: 12px; color: #999; width: 100%; }
.post-other .time { margin-right: 20px; }

.author { margin-right: 15px; }
.single-post-media { margin-bottom: 20px; }
.single-post-media img { max-width: 100%; display: block; margin-left: auto; margin-right: auto; border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; }
.post-content { margin: 20px 20px 0; line-height: 28px; padding-bottom: 20px; word-wrap: break-word; }

/*------------------------------------------------------------------
[ 分享图片按钮 / .share ]
*/
.share-upload {background: url(../images/btn/upload_newshare.gif) no-repeat; width: 164px; height: 44px; overflow: hidden; z-index: 5;opacity: 1;}
.share-upload:hover {background-position:0 -44px; opacity:1;}
.share-upload input{width: 164px; height: 44px; filter: alpha(opacity=0); opacity: 0; outline: none;}

/* -------------------------------------------------------------------
[ profile] 用户信息
*/
.profile { background: #7f8c8d; color: #fff; text-align: center; padding: 45px 0 35px; margin-top: -20px; }
.profile h1 { font-size: 28px; margin: 10px 0 15px; }
.profile h2 { font-size: 16px; margin: 5px 0 15px; }

.avatar { background: #f2f2f2; -webkit-border-radius: 100px; -moz-border-radius: 200px; -ms-border-radius: 200px;
	-o-border-radius: 200px; border-radius: 200px; -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.04);
	-moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.04); box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.04);
	padding: 6px; display: inline-block;
	transition: ease all .6s; -webkit-transition: ease all .6s; -moz-transition: ease all .6s; -o-transition: ease all .6s;
}

.avatar img { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.avatar:hover { background: #dcdcdc; }

.btn-white { border: 2px solid #fff; color: #fff; text-transform: uppercase; font-weight: 700; font-size: 12px;
	padding: 9px 20px; background: transparent;
	-moz-border-radius: 30px; -webkit-border-radius: 30px; -o-border-radius: 30px; -ms-border-radius: 30px;
	transition-duration: 0.3s; -moz-transition-duration: 0.3s; -webkit-transition-duration: 0.3s; -o-transition-duration: 0.3s; -ms-transition-duration: 0.3s;
}
.btn-white:hover { background:#fff!important; color: #323A45!important; }
.profile-navbar { background: #7f8c8d; margin-bottom: 20px;}
.profile-navbar .content { border-top: 1px solid rgba(255,255,255,.4); }
.profile-navbar .nav { margin: 0; padding: 0; }
.profile-navbar .nav>li { float: left; margin-top: -1px; border-top: 1px solid transparent; }
.profile-navbar a { padding: 15px 20px; color: rgba(255,255,255,.4); text-transform: uppercase; border: none; }
.profile-navbar .nav>li.active { border-top-color: #fff; }
.profile-navbar .nav>li.active a { color: #fff; }
.profile-navbar .nav>li.active a:hover { color: #000; }
.profile-navbar a:hover, .profile-navbar a:active, .profile-navbar a:focus { color: #000; }

/*
修改头像
*/
.update_ava { width: 400px; margin: 10px auto; text-align: center; background-color: #f5f5f5; border: 1px solid transparent;
	border-radius: 4px; border-color: #ddd; }

/*
 * Chat
 */
.chat { margin: 0; padding: 0; list-style: none; }
.chat li { margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px dotted #999; }
.chat li.left .chat-body { margin-left: 60px; }
.chat li .chat-body p { margin: 0; }

/* gallery */
.g-box { }
.g-box .g-item { }

.g-box .g-thumb { max-height: 600px; overflow: hidden; }
.g-box .g-thumb a { display: block; position: relative; }
.g-box .g-thumb img { display: block; width: 100%; box-shadow: #000 0em 0em 0em; nowhitespace: afterproperty; border-radius: 3px 3px 0 0;}
.g-box .g-thumb a:before { content: ""; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; background: #000 url("../images/image-overlay-icon.png") center center no-repeat; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; visibility: hidden; transition: all .25s ease-in-out; -webkit-transition: all .25s ease-in-out; -moz-transition: all .25s ease-in-out; }
.g-box .g-thumb a:hover:before { visibility: visible; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter: alpha(opacity=80); -moz-opacity: 0.8; -khtml-opacity: 0.8; opacity: 0.8; }

.g-box .g-item .title { font-size: 16px; margin: 16px 20px 12px; line-height: 24px; }
.g-box .g-item .title a { color: #333; }
.g-box .g-outline { margin: 10px; font-size: 15px; color: #333; line-height: 28px; overflow: hidden; }
.g-box .g-btm { width: 100%; height: 46px; line-height: 46px; padding: 0 20px; left: 0; bottom: 0; background-color: #f9f9f9; }

/* masonry-grid */
.masonry-grid .span_1_of_3 { width: 31.1%; }
.masonry-grid .col { margin-right: 1.1%; margin-left: 1.1%; margin-bottom: 20px; }

.col { display: block; float: left; margin: 0 0 2% 1.6%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.page-jump { display: none; }
.infinite-scroll-loader {text-align: center; z-index: 100; position: absolute; left: 45%; bottom: 40px; width: 150px; padding: 20px 0; font-size: 32px; background: #000; background: rgba(0,0,0,0.85); color: #a0a0a0; text-shadow: 1px 1px 1px rgba(0,0,0,0.6); border-radius: 10px; }


/* 
Tags
*/
.tags_grid { padding: 20px 0 40px 0; margin: 0 -5px; list-style: none; text-align: center; }
.tags_grid li { display: inline-block; overflow: hidden; padding: 5px; text-align: left; position: relative; }
.tags_grid figure {
	margin: 0;
	height: 160px;
	background-color: #fff;
	position: relative;
	border-radius: 3px;
	border: 1px solid #ddd;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
}
.tags_grid figure img { width: 100%; display: block; position: relative; }
.tags_grid figure .txt { height: 100%; margin: 10px; font-size: 15px; color: #333; line-height: 28px; overflow: hidden; }
.tags_grid figcaption { position: absolute; top: 0; left: 0; padding: 10px; font-size: 12px; background-color: #f5f5f5; border-top: 1px solid #dddddd; color: #666; }
.tags_grid figcaption h3 { margin: 0 0 3px 0; padding: 0; color: #000; font-size: 16px; }
.tags_grid figcaption span { width: 100%; position: absolute; word-break: keep-all; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tags_effecs figure { overflow: hidden; }
.tags_effecs figure img { -webkit-transition: -webkit-transform .4s; -moz-transition: -moz-transform .4s; transition: transform .4s;}

.tags_effecs figcaption {
	height: 60px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform .4s,opacity .1s .3s;
	-moz-transition: -moz-transform .4s,opacity .1s .3s;
	transition: transform .4s,opacity .1s .3s;
}
.tags_effecs figcaption a {
	position: absolute;
	bottom: 20px;
	right: 10px;
}
.tags_effecs figure:hover img,.tags_effecs figure.cs-hover img {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px)
}
.tags_effecs figure:hover figcaption,.tags_effecs figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition: -webkit-transform .4s, opacity .1s;
	-moz-transition: -moz-transform .4s, opacity .1s;
	transition: transform .4s, opacity .1s
}
.tags_effecs .itag {
	position: absolute;
	padding: 4px 10px;
    left: 10px;;
	bottom: 10px;
    background: #222;
    opacity: 0.8;
    font-size: 14px;
	color: #fff;
    _filter: alpha(opacity=80);
	max-width: 90%;
    position: absolute;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
